<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看所有值班人员信息</title>
<style>
		button{background-color:ivory;color:#705108}
		p{font-size: 20px; font-weight: bold;color:#836C0D}
		body {margin: 0;font-family: 'Lato', sans-serif; font-weight: 400;font-size: 15px;line-height: 25px;color: #333333;overflow-x: hidden;padding: 0;background-image:url(./imgs/bg.jpg);background-size:cover}
		a{text-decoration: none}

		.box{}
	    .menu a:hover {background:#93A29D;color:white}
		.menu{border-bottom: 1px solid white;height: 85px;margin-left: ;margin-right: ;margin-top: 2px;}
		.b{margin-right: 10px; float:right;color:black;margin-bottom: auto;margin-top: 10px;color:white;font-family:幼圆;}
	    .b1{float:right;font-weight: 900;font-size: 150%;}
	    .c1{margin-left: 10px;float:left;height: 80px;margin-top: 15px}
		.d{margin-top: 30px; float:center;height: 300px}
	    .e{float:center;margin-left: 10px;margin-top: 10px}
		a{color:#4876F1}
</style>


<script type="text/javascript">
	
	function queryPage(pageNumber){
		var pageNowElement = document.getElementsByName("pageNow")[0];
		pageNowElement.value = pageNumber;
		var queryForm = document.getElementById("queryForm");
		queryForm.submit();
	}
</script>

</head>
<body>

	
	  <div class="box">
		 <div class="menu">
			 <div class="b">
				 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			          欢迎您：${sessionScope.loginUser.username }
				 <a href="LogoutServlet" style="text-decoration: none">注销</a><br><br>
				 <div class="b1">
					<a href="menu_admin.jsp" style="text-decoration: none;color: slategray">首页</a>
	                 <a href="saveannouncement.jsp" style="text-decoration: none;color: slategray">添加通知信息</a>
		             <a href="finall" style="text-decoration: none;color: slategray">查看值班人员</a>
		             <a href="listallreman" style="text-decoration: none;color: slategray">查看维修人员</a>
		             <a href="selectyearPeport?year=2019" style="text-decoration: none;color: slategray">查看报表</a>
				 </div>
		     </div>
			 <div class="c1">
				 <img src="./imgs/nchu.png" alt="" height="50px" >
		     </div>
		 </div>
		 <table width="800" align="center" cellpadding="0" cellspacing="0">
				<thead>
					<tr>
						<td width="70%"><h5>通知公告栏&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h5></td>
					</tr>
				</thead>
				<tr>
					<td colspan="2" width="100%">
						<table width="100%">
							<tbody>
							<tr>
								<td align="right">查看通知公告信息</td>
								<td>注：<font color="red"> 点击查看具体内容 </font></td>
							</tr>
							
 
 <c:forEach items="${announcements}" var="announcements"> <!--  -->
 <tr>
    <td>${announcements.releaseTime}</td>  
    <td><a href="selectAnnouncement?id=${announcements.id}">标题:${announcements.antitle}</a></td> 
  
  </tr>
 </c:forEach>
		
		
		
							
							</tbody>						
							
					  </table>
					</td>
				</tr>
			</table>
			
		 
			  

	     </div>
	  

</body>
</html>